package com.guochenglang.www.pojo;

import com.guochenglang.www.pojo.annotate.Table;

import java.sql.Timestamp;

/**
 * 回复表
 *
 * @author GuoChenglang
 */
@Table("reply")
public class Reply {
    /**
     * 主键
     */
    private Integer id;
    /**
     * 评论id
     */
    private Integer commentId;
    /**
     * 回复人id
     */
    private Integer userId;
    /**
     * 回复时间
     */
    private Timestamp replyTime;
    /**
     * 回复内容
     */
    private String reply;
    private Integer replyUser;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getReplyUser() {
        return replyUser;
    }

    public void setReplyUser(Integer replyUser) {
        this.replyUser = replyUser;
    }

    public String getReply() {
        return reply;
    }

    public void setReply(String reply) {
        this.reply = reply;
    }

    public Timestamp getReplyTime() {
        return replyTime;
    }

    public void setReplyTime(Timestamp replyTime) {
        this.replyTime = replyTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getCommentId() {
        return commentId;
    }

    public void setCommentId(Integer commentId) {
        this.commentId = commentId;
    }

    public Reply() {
    }

    public Reply(Integer id, Integer replyUser, String reply, Timestamp replyTime, Integer userId, Integer commentId) {
        this.id = id;
        this.replyUser = replyUser;
        this.reply = reply;
        this.replyTime = replyTime;
        this.userId = userId;
        this.commentId = commentId;
    }
}
